<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script>
        function Haha()
        {
            //返回一个对象
            return{
                name:'biden',
                say:function(callback)
                {
                    callback.call(this) //用call执行之后  回调函数里面的this指向当前对象
                    // callback()  //在this 的指向为window
                }
            }
        }
        var obj=Haha()
        {
            obj.say(function(){
                console.log('这是回调函数的this==>',this);
            })

        }
        Haha()
    </script>
    
</body>
</html>